This function retrieves general information about an HDF GR raster image. HDF_GR_GETIMINFO retrieves the name, number of components, data type, interlace mode, dimension sizes, and number of attributes of the raster image identified by the parameter ri_id. It also retrieves the number of attributes attached to the image into the parameter num_attrs.
Result = HDF_GR_GETIMINFO(ri_id, gr_name, ncomp, data_type, interlace_mode, dim_sizes, num_attrs)
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Raster image identifier returned by HDF_GR_CREATE or HDF_GR_SELECT.
A named variable that will contain the name of the raster image.
A named variable that will contain the number of components in the raster image.
A named variable that will contain the data type of the raster image data.
A named variable that will contain the interlace mode of the stored raster image data.
A named variable that will contain the sizes of the raster image dimensions.
A named variable that will contain the number of attributes attached to the raster image.
None
5.2 |
Introduced |